package brightrac.database;
import java.sql.ResultSet;
public class QueryResult {
	public boolean status = false;
	public String message = "Done";
	public ResultSet data = null;
	
	public QueryResult (String message)
	{
		this.status = false;
		this.message = message;
	}
	
	public QueryResult(ResultSet data)
	{
		this.status = true;
		this.data = data;
	}
	
	public QueryResult(ResultSet data, String message)
	{
		this.status = true;
		this.message = message;
		this.data = data;
	}
	
	public QueryResult()
	{
		this.status = true;
		
	}
	public QueryResult(Boolean status)
	{
		this.status = status;
		
	}
	
	

}
